package center_handler

import (
	"base"
	"leaf/gate"
)

type Interface interface {
	OnRegister(id base.AgentId, agent gate.Agent, data []byte) (result interface{})
	OnClose(id base.AgentId, agent gate.Agent)
}
